package cn.tedu;
import javax.xml.crypto.Data;
import java.util.Date;

public class EMP {
    private int id;
    private String name;
    private String job;
    private int topid;
    private Date date;
    private int sasl;
    private int bonus;
    private int dept_id;

    public EMP(int id, String name, String job, int topid, Date date, int sasl, int bonus, int dept_id) {
        this.id = id;
        this.name = name;
        this.job = job;
        this.topid = topid;
        this.date = date;
        this.sasl = sasl;
        this.bonus = bonus;
        this.dept_id = dept_id;
    }

    @Override
    public String toString() {
        return "EMP{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", job='" + job + '\'' +
                ", topid=" + topid +
                ", date=" + date +
                ", sasl=" + sasl +
                ", bonus=" + bonus +
                ", dept_id=" + dept_id +
                '}';
    }
}
